/**
 * Created by linweihao on 15/9/17.
 */

exports.getData = function (doc) {
    return "这是" + doc;
}

exports.fanliRate = function (val) {
    var result = val / 100 + "%"
    return result
}

exports.buildHtml = function (val) {
    if (val.indexOf('http') == -1) {
        val = 'http:' + val
    }
    //result = result.split(".jpg_",1) + ".jpg_400x400.jpg"
    val = val + "_400x400.jpg"
    return val
}